package cn.melonlib.cores.aop.anno.result;

import cn.melonlib.cores.aop.enums.TransViewMode;

import java.lang.annotation.*;
/**
 * 数据转换
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface TransToView {

    String value() default "defaultTrans";
    /**
     * 包含
     * @return
     */
    String[] includes() default {};

    TransViewMode mode() default TransViewMode.QUERY;
}
